package org.jeecg.modules.demo.gsy.service.impl;

import org.jeecg.modules.demo.gsy.entity.Dishes;
import org.jeecg.modules.demo.gsy.mapper.DishesMapper;
import org.jeecg.modules.demo.gsy.service.IDishesService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 菜
 * @Author: jeecg-boot
 * @Date:   2021-10-28
 * @Version: V1.0
 */
@Service
public class DishesServiceImpl extends ServiceImpl<DishesMapper, Dishes> implements IDishesService {
	
	@Autowired
	private DishesMapper dishesMapper;
	
	@Override
	public List<Dishes> selectByMainId(String mainId) {
		return dishesMapper.selectByMainId(mainId);
	}
}
